package com.sjz.han.industry.activites;

import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.sjz.han.industry.R;
import com.sjz.han.industry.adapters.MainTeam2Adapter;
import com.sjz.han.industry.adapters.MainTeam3Adapter;
import com.sjz.han.industry.base.BaseActivity;

//团队c1 b 层级
public class TeamThreeActivity extends BaseActivity implements View.OnClickListener{
    private RecyclerView team_recy;
    private MainTeam3Adapter teamAdapter;
    @Override
    protected int setLayoutId() {
        return R.layout.activity_teamthree;
    }

    @Override
    protected void initDatas() {

    }

    @Override
    protected void initViews() {
        reback_btn=(RelativeLayout)this.findViewById(R.id.reback_btn);
        titleTv=(TextView)this.findViewById(R.id.ctitle_tv);
        titleTv.setText("A");

        team_recy=(RecyclerView)this.findViewById(R.id.teamthree_recy);
        team_recy.setLayoutManager(new LinearLayoutManager(this));
        teamAdapter=new MainTeam3Adapter(this);
        team_recy.setAdapter(teamAdapter);
    }

    @Override
    protected void setLisener() {
        reback_btn.setOnClickListener(this);
    }

    @Override
    protected void onRetry() {

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.reback_btn:
                finish();
                break;
        }
    }
}
